.class LPlugclass/HttpConn$2;
.super Ljava/lang/Thread;
.source "HttpConn.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = LPlugclass/HttpConn;->loadDrawImage(Ljava/lang/String;Ljava/lang/String;LPlugclass/HttpConn$GetImage;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field private final synthetic val$handler:Landroid/os/Handler;

.field private final synthetic val$imgaddress:Ljava/lang/String;

.field private final synthetic val$strurl:Ljava/lang/String;


# direct methods
.method constructor <init>(Ljava/lang/String;Ljava/lang/String;Landroid/os/Handler;)V
    .locals 0

    .prologue
    .line 1
    iput-object p1, p0, LPlugclass/HttpConn$2;->val$strurl:Ljava/lang/String;

    iput-object p2, p0, LPlugclass/HttpConn$2;->val$imgaddress:Ljava/lang/String;

    iput-object p3, p0, LPlugclass/HttpConn$2;->val$handler:Landroid/os/Handler;

    .line 96
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    .line 99
    invoke-super {p0}, Ljava/lang/Thread;->run()V

    .line 100
    iget-object v2, p0, LPlugclass/HttpConn$2;->val$strurl:Ljava/lang/String;

    iget-object v3, p0, LPlugclass/HttpConn$2;->val$imgaddress:Ljava/lang/String;

    invoke-static {v2, v3}, LPlugclass/HttpConn;->drawimg(Ljava/lang/String;Ljava/lang/String;)Landroid/graphics/drawable/Drawable;

    move-result-object v0

    .line 101
    .local v0, "dw":Landroid/graphics/drawable/Drawable;
    if-eqz v0, :cond_0

    .line 102
    iget-object v2, p0, LPlugclass/HttpConn$2;->val$handler:Landroid/os/Handler;

    const/4 v3, 0x0

    invoke-virtual {v2, v3, v0}, Landroid/os/Handler;->obtainMessage(ILjava/lang/Object;)Landroid/os/Message;

    move-result-object v1

    .line 103
    .local v1, "msg":Landroid/os/Message;
    iget-object v2, p0, LPlugclass/HttpConn$2;->val$handler:Landroid/os/Handler;

    invoke-virtual {v2, v1}, Landroid/os/Handler;->sendMessage(Landroid/os/Message;)Z

    .line 105
    .end local v1    # "msg":Landroid/os/Message;
    :cond_0
    return-void
.end method
